package com.atguigu.yygh.apartment.repository;

import com.atguigu.yygh.model.hosp.Chamber;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ChamberRepository extends MongoRepository<Chamber,String> {
    //查询寝室信息
    Chamber getChamberByApartmentCodeAndChamberCode(String apartmentCode, String chamberCode);

    //删除寝室信息

}
